import {defineStore} from 'pinia'
import {getCategoryData} from "@/apis/layout.js";
export const useCategoryStore = defineStore('category', () =>{
  const state = getCategoryData().then((res) => {
    return res.result;
  })
  return {
    state,
  }
})
